home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / os2 / xm198os2.zip / DEV.ZIP / 2TYPES.H next >
Text File  |  1995-01-31  |  880b  |  30 lines

  1. /* ========================================================================= */
  2. /* Some basic definitions                                                    */
  3. /* COPYRIGHT by A.G. Lentz & LENTZ SOFTWARE-DEVELOPMENT; ALL RIGHTS RESERVED */
  4. /* ------------------------------------------------------------------------- */
  5. #ifndef __2TYPES_DEF_
  6. #define __2TYPES_DEF_
  7.  
  8.  
  9. typedef unsigned char  byte;
  10. typedef unsigned short word;                                    /*AGL:10mar93*/
  11. typedef unsigned long  dword;
  12.  
  13. enum boolean { false, true };
  14. #ifndef __cplusplus
  15. typedef int boolean;
  16. #endif
  17.  
  18. typedef long FILE_OFS;                          /* Offset in a disk file     */
  19. #ifdef __cplusplus
  20. const FILE_OFS OFS_NONE = -1L;                  /* Unused file offset ptr    */
  21. #else
  22. #define OFS_NONE (-1L)
  23. #endif
  24.  
  25.  
  26. #endif/*__2TYPES_DEF_*/
  27.  
  28.  
  29. /* end of 2types.h */
  30.